<!-- Start: login-holder -->
<div id="login-holder">

	<!-- start logo -->
	<div id="logo-login">
		<a href="{$smarty.const.LINK_SITE}">
			<img src="{$smarty.const.URL_IMAGENS}logoTransp.png" alt="O Imagin&aacute;vel" />
		</a>
	</div>
	<!-- end logo -->
	
	<div class="clear"></div>
	
	<form name="loginAdmin" id="loginAdmin" action="{$LINK_MENU.Login.post}" method="post">
		<!--  start loginbox -->
		<div id="loginbox">
			<!--  start login-inner -->
			{if $MENSAGEM_ERRO}<div id="loginbox-text"><p>{$MENSAGEM_ERRO}</p></div>{/if}
			<div id="login-inner">
				<table border="0" cellpadding="0" cellspacing="0">
				<tr>
					<th>Usu&aacute;rio</th>
					<td><input type="text" name="usuario" class="login-inp" /></td>
				</tr>
				<tr>
					<th>Senha</th>
					<td><input type="password" name="senha" class="login-inp" /></td>
				</tr>
				<tr>
					<th></th>
					<td valign="top"><input type="checkbox" name="lembrame" value="1" class="checkbox-size" id="login-check" /><label for="login-check">Lembrar-me</label></td>
				</tr>
				<tr>
					<th></th>
					<td><input type="submit" class="submit-login" onclick="jQuery('#loginAdmin').attr('action', '{$LINK_MENU.Login.post}')" /></td>
				</tr>
				</table>
			</div>
		 	<!--  end login-inner -->
			<div class="clear"></div>
			<a href="javascript:void(0);" class="forgot-pwd">Esqueci minha senha</a>
		</div>
		 <!--  end loginbox -->
	 
		<!--  start forgotbox ................................................................................... -->
		<div id="forgotbox">
			<div id="forgotbox-text"><span>{$MENSAGEM}</span><p>Por favor, digite seu email cadastrado que enviaremos um novo c&oacute;digo de acesso.</p></div>
			<!--  start forgot-inner -->
			<div id="forgot-inner">
				<table border="0" cellpadding="0" cellspacing="0">
				<tr>
					<th>Email:</th>
					<td><input type="text" name="email" class="login-inp" /></td>
				</tr>
				<tr>
					<th> </th>
					<td><input type="submit" class="submit-login" onclick="jQuery('#loginAdmin').attr('action', '{$LINK_MENU.RecuperaSenha.post}')" /></td>
				</tr>
				</table>
			</div>
			<!--  end forgot-inner -->
			<div class="clear"></div>
			<a href="javascript:void(0);" class="back-login">Voltar para o login</a>
		</div>
		<!--  end forgotbox -->
		{if $SENHA}
			<script type="text/javascript">
			{literal}
			jQuery(document).ready(function(){
				jQuery("#loginbox").hide();
				jQuery("#forgotbox").show();

				jQuery(".back-login").click(function(){
					jQuery("#forgotbox-text span").hide();
				})
			});
			{/literal}
			</script>
		{/if}
	</form>
	
	<!--  start copyrightbox -->
	<div id="copyrightbox">
		<a href="http://magle.com.br" target="_blank" title="Magle Comunica&ccedil;&atilde;o">
			<img src="{$smarty.const.URL_IMAGENS}magle.png" alt="Logo Magle Comunica&ccedil;&atilde;o" />
		</a>
	</div>
	<!--  end copyrightbox -->
	
</div>
<!-- End: login-holder -->
